package com.yeban.javase.day03.test01;

/**
 * @Desc TODO
 * @Author yeban
 * @Date 2025/10/11
 */
public class Test {

    public static void main(String[] args) {

        Employee e1 = new Employee("张三",12000);
        Employee e2 = new Employee("李四",8000);

        System.out.println("\n---------员工张三----------");
        System.out.println(e1.getName() + "的工资为：" + e1.getSalary());
        System.out.println("涨薪后，工资为：" + EmployeeUtil.bonus(e1));
        System.out.println("涨薪后，工资为：" + e1.getSalary());

        System.out.println("\n---------员工李四----------");
        System.out.println(e1.getName() + "的工资为：" + e1.getSalary());
        System.out.println("涨薪后，工资为：" + EmployeeUtil.bonus(e2));
        System.out.println("涨薪后，工资为：" + e2.getSalary());

    }
}
